<!--  -->
<template>
<div class='navBar'>
    <div class="left"> <slot name="left"></slot> </div>
    <div class="center"> <slot name = "center"></slot> </div>
    <div class="right"> <slot name = "right"></slot> </div>
</div>
</template>

<script>

export default {
components: {},
data() {
return {

};
},
computed: {},
watch: {},
methods: {

},
created() {

},
mounted() {

},
updated() {},
}
</script>
<style lang='less' scoped>
//@import url();
.navBar{
    display: flex;
    line-height: 40px;
    height: 40px;
    color: white;
    .left{
        width: 60px;
        height: 100%
    }
   .center{
       flex: 1;
       display: flex;
       align-items: center;
       justify-content: center;
       height: 100%;
   }
   .right{
       width: 60px;
       height: 100%;
   }
}
</style>